<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Vue</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>

<div id="app">
    <runoob></runoob>
</div>
<div id="app_1">
    <runoob></runoob>
</div>

<script>
    Vue.component("runoob",{
        template: '<h5>自定义组件</h5>'
    })
    let v = new Vue({
        el: '#app',
        data: {}
    });
    let vv = new Vue({
        el: '#app_1',
        data: {}
    });
</script>

</body>
</html>